import request from './request'

// 评论分页查询
export const getCommentPage = (params) => {
  return request.get('/comment/page', { params })
}

// 评论详情查询
export const getCommentDetail = (id) => {
  return request.get(`/comment/${id}`)
}

// 评论删除
export const deleteComment = (id) => {
  return request.delete(`/comment/${id}`)
}
